package Starter;

import Player.Player;

/**
 * Klasa implementująca "pokój" wewnątrz którego toczy się rozgrywka.
 * 
 * @author Maciej Graszek
 * @author Pawel Rychly
 *
 */
public class Room {

	private static Integer nextid = 0;
	
	private Integer id;
	private Integer size = 2;
	private Player[] players = new Player[2];
	private boolean ready = false;
	private Integer roomMaster;
	//TODO weapon list
	
	public Room() {
		setId();
	}
	
	private final void setId(){
		this.id = Room. nextid;
		Room.nextid += 1; 
	}
	
	/**
	 * Metoda zwraca tablice graczy.
	 * @return Array of players.
	 * 
	 */
	public Player[] getPlayers() {
		return players;
	}
	
	
	
}
